package com.matt.domain.courseV2;

import com.matt.commons.model.Domain;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * 能力指标用户记录管理
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Entity
@Table(name = "tc_ability_user")
public class AbilityUser extends Domain implements Serializable {
    private static final long serialVersionUID = 1L;

    @Column(columnDefinition = "varchar(32)   COMMENT '标签ID' ")
    private String milepostId;

    @Column(columnDefinition = "varchar(32)   COMMENT '宝宝ID' ")
    private String childrenId;

    @Column(columnDefinition = "varchar(32)   COMMENT '班级ID' ")
    private String classesId;

    @Column(columnDefinition = "varchar(255)   COMMENT '宝宝检查月龄' ")
    private String childrenTime;

    @Column(columnDefinition = "char(2)   DEFAULT '0' COMMENT '状态：状态：0未完成，1按时完成，2提前完成，3超时完成' ")
    private String  states = "0" ;

    @Column(columnDefinition = "text    COMMENT  '附件' ")
    private String  url;

}